package cn.com.taiji.oospub.wechat.entity;

import cn.com.taiji.entity.StringUUIDEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 订单评价表
 * </p>
 *
 * @author 
 * @since 2020-11-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("Order_comment")
public class OrderComment extends StringUUIDEntity implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * 订单外键
     */
    private String orderId;

    /**
     * 得分
     */
    private String score;

    /**
     * 评价内容
     */
    private String content;

    /**
     * 评价日期
     */
    private LocalDateTime createTime;

    /**
     * 用户外键
     */
    private String memberId;

    /**
     * 是否置顶
     */
    private Boolean isUp;

    /**
     * 是否显示
     */
    private Boolean isShow;

    /**
     * 是否审核
     */
    private Boolean isCheck;

    private String img;

    @TableField(exist = false)
    private String score2;
    @TableField(exist = false)
    private String score3;


}
